/* samsung */

#ifndef ICOMMSOCKET_H
#define ICOMMSOCKET_H

/** @interface */
class ICommSocket 
{
public:
	virtual ~ICommSocket(){};

public:
	virtual int ReceiveData(char* szData, int nLength) = 0;
	virtual void SetPortInfor(CString strServerIP, int nPortNo) = 0;
	virtual int SockConnect() = 0;
	virtual int SockClose() = 0;
	virtual int SendData(CString strData) = 0;

	virtual int SetParentWND(HWND hWnd) = 0;
	virtual void SetTransmitterIndex(int nTransmitterIndex) = 0;
	virtual HWND GetParentWND(void) = 0;
	virtual int GetTransmitterIndex(void) = 0;
};
#endif //ICOMMSOCKET_H
